[PATCH 08/34] net: mana: Record port number in netdev
authorLong Li <longli@microsoft.com>
Thu, 3 Nov 2022 19:16:24 +0000 (12:16 -0700)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 22 Nov 2024 22:27:23 +0000 (23:27 +0100)
commit030f9d6b46a68357d17cd7a3a77f8b6032a85437
treee9b9833ef1425e8be77923aefff40f73dbd6c98f
parent4dc09eecd36217d76bc56b09cf4aa0ed0dbe5fd8
[PATCH 08/34] net: mana: Record port number in netdev

The port number is useful for user-mode application to identify this
net device based on port index. Set to the correct value in ndev.

Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Long Li <longli@microsoft.com>
Link: https://lore.kernel.org/r/1667502990-2559-7-git-send-email-longli@linuxonhyperv.com
Acked-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
(cherry picked from commit d44089e555ffe63a49cc6e94d0c03d933e413059)
Signed-off-by: Bastian Blank <waldi@debian.org>
Gbp-Pq: Topic features/all/ethernet-microsoft
Gbp-Pq: Name 0008-net-mana-Record-port-number-in-netdev.patch
drivers/net/ethernet/microsoft/mana/mana_en.c